Optimal. Leaf size=132 \[ -\frac {b e x \sqrt {1-c^2 x^2}}{4 c}+\frac {1}{2} e x^2 (a+b \text {ArcCos}(c x))+\frac {b e \text {ArcSin}(c x)}{4 c^2}+\frac {1}{2} i b d \text {ArcSin}(c x)^2-b d \text {ArcSin}(c x) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )+d (a+b \text {ArcCos}(c x)) \log (x)+b d \text {ArcSin}(c x) \log (x)+\frac {1}{2} i b d \text {PolyLog}\left (2,e^{2 i \text {ArcSin}(c x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 132, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 12, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.632, Rules used = {14, 4816, 12,
6874, 327, 222, 2363, 4721, 3798, 2221, 2317, 2438} \begin {gather*} d \log (x) (a+b \text {ArcCos}(c x))+\frac {1}{2} e x^2 (a+b \text {ArcCos}(c x))+\frac {b e \text {ArcSin}(c x)}{4 c^2}+\frac {1}{2} i b d \text {Li}_2\left (e^{2 i \text {ArcSin}(c x)}\right )+\frac {1}{2} i b d \text {ArcSin}(c x)^2-b d \text {ArcSin}(c x) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )+b d \log (x) \text {ArcSin}(c x)-\frac {b e x \sqrt {1-c^2 x^2}}{4 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 222
Rule 327
Rule 2221
Rule 2317
Rule 2363
Rule 2438
Rule 3798
Rule 4721
Rule 4816
Rule 6874
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right ) \left (a+b \cos ^{-1}(c x)\right )}{x} \, dx &=\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+(b c) \int \frac {e x^2+2 d \log (x)}{2 \sqrt {1-c^2 x^2}} \, dx\\ &=\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+\frac {1}{2} (b c) \int \frac {e x^2+2 d \log (x)}{\sqrt {1-c^2 x^2}} \, dx\\ &=\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+\frac {1}{2} (b c) \int \left (\frac {e x^2}{\sqrt {1-c^2 x^2}}+\frac {2 d \log (x)}{\sqrt {1-c^2 x^2}}\right ) \, dx\\ &=\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+(b c d) \int \frac {\log (x)}{\sqrt {1-c^2 x^2}} \, dx+\frac {1}{2} (b c e) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx\\ &=-\frac {b e x \sqrt {1-c^2 x^2}}{4 c}+\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+b d \sin ^{-1}(c x) \log (x)-(b d) \int \frac {\sin ^{-1}(c x)}{x} \, dx+\frac {(b e) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{4 c}\\ &=-\frac {b e x \sqrt {1-c^2 x^2}}{4 c}+\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+\frac {b e \sin ^{-1}(c x)}{4 c^2}+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+b d \sin ^{-1}(c x) \log (x)-(b d) \text {Subst}\left (\int x \cot (x) \, dx,x,\sin ^{-1}(c x)\right )\\ &=-\frac {b e x \sqrt {1-c^2 x^2}}{4 c}+\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+\frac {b e \sin ^{-1}(c x)}{4 c^2}+\frac {1}{2} i b d \sin ^{-1}(c x)^2+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+b d \sin ^{-1}(c x) \log (x)+(2 i b d) \text {Subst}\left (\int \frac {e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )\\ &=-\frac {b e x \sqrt {1-c^2 x^2}}{4 c}+\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+\frac {b e \sin ^{-1}(c x)}{4 c^2}+\frac {1}{2} i b d \sin ^{-1}(c x)^2-b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+b d \sin ^{-1}(c x) \log (x)+(b d) \text {Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )\\ &=-\frac {b e x \sqrt {1-c^2 x^2}}{4 c}+\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+\frac {b e \sin ^{-1}(c x)}{4 c^2}+\frac {1}{2} i b d \sin ^{-1}(c x)^2-b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+b d \sin ^{-1}(c x) \log (x)-\frac {1}{2} (i b d) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}(c x)}\right )\\ &=-\frac {b e x \sqrt {1-c^2 x^2}}{4 c}+\frac {1}{2} e x^2 \left (a+b \cos ^{-1}(c x)\right )+\frac {b e \sin ^{-1}(c x)}{4 c^2}+\frac {1}{2} i b d \sin ^{-1}(c x)^2-b d \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )+d \left (a+b \cos ^{-1}(c x)\right ) \log (x)+b d \sin ^{-1}(c x) \log (x)+\frac {1}{2} i b d \text {Li}_2\left (e^{2 i \sin ^{-1}(c x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 124, normalized size = 0.94 \begin {gather*} \frac {1}{2} \left (a e x^2+b e x^2 \text {ArcCos}(c x)+\frac {b e \left (-\frac {1}{2} c x \sqrt {1-c^2 x^2}+\text {ArcTan}\left (\frac {c x}{-1+\sqrt {1-c^2 x^2}}\right )\right )}{c^2}+2 a d \log (x)-i b d \left (\text {ArcCos}(c x) \left (\text {ArcCos}(c x)+2 i \log \left (1+e^{2 i \text {ArcCos}(c x)}\right )\right )+\text {PolyLog}\left (2,-e^{2 i \text {ArcCos}(c x)}\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.57, size = 130, normalized size = 0.98
method | result | size |
derivativedivides | \(\frac {a e \,x^{2}}{2}+d a \ln \left (c x \right )-\frac {i b \arccos \left (c x \right )^{2} d}{2}-\frac {b e x \sqrt {-c^{2} x^{2}+1}}{4 c}+\frac {b \arccos \left (c x \right ) e \,x^{2}}{2}-\frac {b \arccos \left (c x \right ) e}{4 c^{2}}+b d \arccos \left (c x \right ) \ln \left (1+\left (c x +i \sqrt {-c^{2} x^{2}+1}\right )^{2}\right )-\frac {i b d \polylog \left (2, -\left (c x +i \sqrt {-c^{2} x^{2}+1}\right )^{2}\right )}{2}\) | \(130\) |
default | \(\frac {a e \,x^{2}}{2}+d a \ln \left (c x \right )-\frac {i b \arccos \left (c x \right )^{2} d}{2}-\frac {b e x \sqrt {-c^{2} x^{2}+1}}{4 c}+\frac {b \arccos \left (c x \right ) e \,x^{2}}{2}-\frac {b \arccos \left (c x \right ) e}{4 c^{2}}+b d \arccos \left (c x \right ) \ln \left (1+\left (c x +i \sqrt {-c^{2} x^{2}+1}\right )^{2}\right )-\frac {i b d \polylog \left (2, -\left (c x +i \sqrt {-c^{2} x^{2}+1}\right )^{2}\right )}{2}\) | \(130\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {acos}{\left (c x \right )}\right ) \left (d + e x^{2}\right )}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )\,\left (e\,x^2+d\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________